<?php

/**
 * Novinky presenter.
 */
class NovinkyPresenter extends BasePresenter
{
    public function renderDefault(){        
        $news = new NewsModel($this->db);
        $this->template->allNews = $news->order("inserted_date DESC");
    }   
}
